
clear all
set mem 5000m
set more off

global path = "C:\Users\creto\Desktop\chinese_students_2017"
 
use "$path\Data\6.AnalysisData\sevis_cob_year.dta"

twoway (connected students year if cob_cntry_desc=="CHINA", sort) (connected students year if cob_cntry_desc=="INDIA", sort) ///
(connected students year if cob_cntry_desc=="SOUTH KOREA", sort)  (connected students year if cob_cntry_desc=="SAUDI ARABIA", sort), ///
legend(order(1 "China" 2 "India" 3 "South Korea" 4 "Saudi Arabia")) ytitle("New student visas (All levels)") xtitle("Year") scheme(s1color) 

*graph export "$path\Figures\Fig1a_by_country.png", replace width(1000)
